﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SDF.Pagination
{
    /// <summary>
    /// Defines an element that can be harvested.
    /// </summary>
    public interface IHarvestable
    {
        HarvestResult Harvest(HarvestingContext context, double remainingHeight, SmartBlock previousBlock);

        bool IsPartiallyHarvested(HarvestingContext context);
    }
}
